package com.mlf.factory;

import com.mlf.factory.easyFactory.demo.Shape;
import com.mlf.factory.easyFactory.demo.ShapeEasyFactory;

public class EasyFactoryDemo {
    public static void main(String[] args) {
        ShapeEasyFactory factory = new ShapeEasyFactory();

        Shape circle = factory.createShape("CIRCLE");
        circle.draw();  // Drawing Circle

        Shape rect = factory.createShape("RECTANGLE");
        rect.draw();   // Drawing Rectangle
    }
}
